package com.gxa.jjty.admin.service;

import com.gxa.jjty.core.exception.BusinessException;
import com.gxa.jjty.core.pojo.Recital;
import com.gxa.jjty.core.service.BaseService;

public interface RecitalService extends BaseService<Recital> {

    /**
     * 根据id查询分值
     * @param id
     * @return
     */
    Recital selectById(Long id) throws BusinessException;

    /**
     * 编辑recital
     * @param recital
     */
    void updateRecitalService(Recital  recital) throws BusinessException;

    /**
     * 根据id删除记录
     * @param id
     */
    void deleteById(Long id) throws BusinessException;

    /**
     * 添加分值
     * @param recital
     */
    void insertRecital(Recital recital) throws BusinessException;



}
